Gastritis: MedlinePlus Medical Encyclopedia It may also linger for months to years (chronic gastritis). Causes. The most common causes of gastritis are: Certain medicines, such as aspirin, ibuprofen, ...